home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
filesyst
/
thsfs.tgz
/
thsfs.tar
/
thsfs
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-09-30
|
574b
|
38 lines
#
# Makefile fuer ths-Filesystem
#
#
# THS
#
all: version ths.o
CC = gcc -D__KERNEL__
AS = as
CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486
.c.s:
$(CC) $(CFLAGS) -S $<
.c.o:
$(CC) $(CFLAGS) -c $<
.s.o:
$(AS) -o $*.o $<
OBJS= inode.o fat.o super.o divers.o dir.o transfer.o file.o modul.o kompr.o
version:
echo 'char kernel_version[]="'`uname -r`'";' >version.h
ths.o: $(OBJS)
$(LD) -r -o ths.o $(OBJS)
dep:
$(CPP) -M *.c > .depend
#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif